<template>
  <div class="son">
      <slot :title="title" :price="price"></slot>
      <hr>
      <slot name="s1" :title="title" :price="price" ></slot>
  </div>
</template>

<script>
export default {
    data() {
        return {
            price: 15,
            title: '猪脚饭'
        }
    },
}
</script>

<style scoped>
 .son {
     width: 400px;
     height: 400px;
     border: 1px solid #000;
 }
</style>